package com.moshang.blog.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.moshang.blog.entity.activity.LeaveOpinion;
import lombok.Data;
import java.io.Serializable;
import java.util.*;

/**
 * @author xww
 * Created on 2019/7/10.
 */
@TableName("user_leave")
@Data
public class UserLeave extends BaseTask implements Serializable {
    @TableId(type = IdType.UUID)
    protected String id;
    private Integer days;
    private Integer userId;
    private String userName;
    private Date beginTime;
    private Date endTime;
    private String reason;
    private String urlPath;
    private Integer submitTimes;
    private String processInstanceId;

    private String status;
    private Date createTime;
    private String createBy;
    private Date updateTime;
    private String updateBy;

    //***实时节点信息
    private String taskName;


    //请假单审核信息
    @TableField(exist = false)
    private List<LeaveOpinion> opinionList;


}
